Find the quotient and remainder